package com.firstgroup.domain;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.HeadFontStyle;
import com.alibaba.excel.annotation.write.style.HeadStyle;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import org.hibernate.annotations.Proxy;

import javax.persistence.*;
import javax.servlet.annotation.HandlesTypes;
import java.util.Date;

@Entity
@Table(name = "interviewers")
@Data
@NoArgsConstructor
@AllArgsConstructor
@ToString
@Proxy(lazy = false)
@HeadStyle(fillBackgroundColor = 1)
public class Interviewers {
    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    @ExcelIgnore
    private Integer interviewersId;
    @Column
    @ExcelProperty(value = "姓名", index = 2)
    private String name;
    @Column
    @ExcelProperty(value = "班级", index = 1)
    private String classes;
    @Column
    @ExcelProperty(value = "学号", index = 0)
    private String studentId;
    @Column
    @ExcelIgnore
    private String Telephone;
    @Column
    @ExcelIgnore
    private String qq;
    @Column
    @ExcelProperty(value = "下一阶段", index = 4)
    private String state = "待笔试";
    @ExcelProperty(value = "面试地点", index = 5)
    private String place = "未设置";
    @ExcelProperty(value = "面试时间", index = 6)
    private String time = "未设置";
    @ExcelIgnore
    @Column
    private String firstPath = "未上传简历";
    @ExcelIgnore
    @Column
    private String nextPath = "未上传简历";
    @Column
    @ExcelProperty(value = "性别",index = 3)
    private String sex ;
    @Column
    @ExcelProperty(value = "面试官",index=7)
    private String user;
    @Column
    @ExcelIgnore
    private String  registTime;
    @Column
    @ExcelIgnore
    private String  updateStateTime;
}
